<%@ include file = "/common/ini.jsp"%> 
<%@ include file = "/common/_log4j.jsp"%>
<%@ include file = "/common/_ApplicationContext_init.jsp"%>
<%@ include file = "/js/_js_for_select.jsp"%> 
<%
    TypeManager typeManager = (TypeManager)applicationContext.getBean("typeManager");
    String keyword = request.getParameter("keyword");
    if(keyword.equals(""))
    {
        keyword = "KKJHLKJHKJHKJHKJHKJHKJHKJLLKDJFSKJFLSDJLFKSJDLFJLKDSJFASDJLASJDLKASJDLAKＳ";
    }
    List kps = typeManager.findKnowledgePointByName(keyword);
%>
<script>
    $("kpListDiv").style.display = "none";
    $("addKpListDiv").style.display = "";
</script>
<select id="knowledgePoints" name="knowledgePoints" ondblclick="cpKps()"  style="background:#F0FEEF;width: 2.5in;height:1.5in;" multiple onkeyup="kpListKeyOp()">
    <%
        logger.debug("找到个" +  kps.size() + "知识点");
        for(int i = 0; i < kps.size(); i ++)
        {
            Type kp = (Type)kps.get(i);
            %><option value="<%= kp.getId()%>"><%= kp.getSuperType().getSuperType().getSuperType().getSuperType().getName()%>-<%= kp.getName()%><%
        }
    %>
</select>
